package com.peace.hospital.service.drugstorage.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.peace.hospital.entity.drugstorage.Outwarehouse;

import com.peace.hospital.mapper.drugstorage.OutwarehouseMapper;

import com.peace.hospital.service.drugstorage.IOutwarehouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xie
 * @since 2019-11-25
 */
@Service
public class OutwarehouseServiceImpl extends ServiceImpl<OutwarehouseMapper, Outwarehouse> implements IOutwarehouseService {
    @Autowired
    private OutwarehouseMapper outwarehouseMapper;
    @Override
    public int addOutwa(Outwarehouse outwarehouse) {
       int i =outwarehouseMapper.addOutwa(outwarehouse);
       return i;
    }
}
